package com.xlabs.client.shared;

import com.google.gwt.requestfactory.shared.EntityProxy;
import com.google.gwt.requestfactory.shared.ProxyFor;
import com.xlabs.server.DO.Reply;

@ProxyFor(Reply.class)
public interface ReplyProxy extends EntityProxy
{
	/**
	 * Gets the proxy id.
	 * @return
	 */
	String getId();
	
	/**
	 * Interface for {@link Reply}{@link #getCreatedOnIndex()}
	 * @return
	 */
	public String getCreatedOnIndex();
	
	/**
	 * Interface for {@link Reply}{@link #getReplyText()}
	 * @return
	 */
	public String getReplyText();
	
	/**
	 * Interface for {@link Reply}{@link #getReplyCount()}
	 * @return
	 */
	public Integer getReplyCount();
	
	/**
	 * Interface for {@link Reply}{@link #getCreatedByName()}
	 * @return
	 */
	public String getCreatedByName();
	
	/**
	 * Interface for {@link Reply}{@link #getIsAnswer()}
	 * @return
	 */
	public Boolean getIsAnswer();
	
	/**
	 * Interface for {@link Reply}{@link #setAnswerForId(String)}
	 * @param answerForId
	 */
	public void setAnswerForId(String answerForId);
	
	/**
	 * proxy for {@link Reply}{@link #getAnswerForId()}
	 * @return
	 */
	public String getAnswerForId();
}
